package com.example.service.ribbon.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.example.service.ribbon.service.TestService;

@RestController
public class test {
	@Autowired
	TestService testService;

	@RequestMapping(value = "/index")
	public String index(@RequestParam String name) {
		return testService.testService(name);
	}

}
